package com.shop2cn.iapi.grouponmgr.parameter;

import com.ymt.base.BaseBean;


import java.util.Date;
import java.util.List;

public class SaveGrouponReq extends BaseBean {

//    @NotBlank(message = "商品Id不能为空")
    private String productId;

//    @Min(value = 1, message = "买手Id必须大于0")
    private int sellerId;

//    @Valid
//    @NotEmpty(message = "规格列表必填")
    private List<GrouponCatalogDto> grouponCatalogs;

//    @Min(value = 2, message = "拼团人数必须大于或者等于2")
    private int grouponMemberCount;

//    @Min(value = 1, message = "成团时间必须大于或者等于1")
    private int grouponMaxHour;

//    @NotNull(message = "开始时间不能为空")
    private String beginTime;

//    @NotNull(message = "结束时间不能为空")
    private String endTime;

    /**
     * 拼团商品编号
     */
    private int grouponProductId;

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public int getSellerId() {
		return sellerId;
	}

	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}

	public List<GrouponCatalogDto> getGrouponCatalogs() {
		return grouponCatalogs;
	}

	public void setGrouponCatalogs(List<GrouponCatalogDto> grouponCatalogs) {
		this.grouponCatalogs = grouponCatalogs;
	}

	public int getGrouponMemberCount() {
		return grouponMemberCount;
	}

	public void setGrouponMemberCount(int grouponMemberCount) {
		this.grouponMemberCount = grouponMemberCount;
	}

	public int getGrouponMaxHour() {
		return grouponMaxHour;
	}

	public void setGrouponMaxHour(int grouponMaxHour) {
		this.grouponMaxHour = grouponMaxHour;
	}

	public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public int getGrouponProductId() {
		return grouponProductId;
	}

	public void setGrouponProductId(int grouponProductId) {
		this.grouponProductId = grouponProductId;
	}
    
}
